<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>inArray</title>
</head>
<body>
	inArray数组版的indexOf
</body>
</html>
<script src='jquery源码分析.js'></script>
<script>
	var arr = ["a","b","c"];
	alert($.inArray("b",arr));//1
	alert($.inArray("w",arr));//-1
</script>